---
layout: default
---

<div class="home">
  {% if site.theme_settings.header_text %}
  <div id="main" class="call-out"
  style="background-image: url('{{ site.baseurl }}/{{ site.theme_settings.header_text_feature_image }}')">
    {{ site.theme_settings.header_text }}
  </div>
  {% endif %}

  <div class="posts">
    {% for post in paginator.posts %}
        {% if post.show  != 1 %}
        <div class="post-teaser">
              {% if post.thumbnail %}
              <div class="post-img">
                 <img src="{{ site.baseurl }}/{{ post.thumbnail }}">
              </div>
              {% endif %}
              <span>
                  <header>
                    <h1>
                      <a class="post-link" href="{{ post.url | prepend: site.baseurl }}">
                        {{ post.title }}
                      </a>
                    </h1>
                    <p class="meta">
                      {{ post.date | date: "%B %-d, %Y" }}
                    </p>
                  </header>
                  <div class="excerpt">
                    {{ post.content | strip_html | truncate: "60" }}
                    <!-- <a class="button" href="{{ post.url | prepend: site.baseurl }}">
                      {{ site.theme_settings.str_continue_reading }}
                    </a> -->
                  </div>
              </span>
            </div>
        {% endif %}
    {% endfor %}
  </div>

    {% if paginator.total_pages > 1 %}
    <div class="pagination">
        {% if paginator.page == 1 %}
            <a href="{{ site.baseurl }}/" class="button_num_down" >1</a>
        {% else %}
            <a href="{{ site.baseurl }}/" class="button_num" >1</a>
        {% endif %}

        {% for i in (2..paginator.total_pages) %}
          {% if paginator.page == i %}
              <a href="{{ site.baseurl }}/blog/page{{ i }}" class="button_num_down" > {{ i }} </a>
          {% else %}
              <a href="{{ site.baseurl }}/blog/page{{ i }}" class="button_num" > {{ i }} </a>
          {% endif %}
        {% endfor %}

    </div>
    {% endif %}
</div>
